<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <css file="__PUBLIC__/Css/public.css"/>
    </head>
    <body>
        <table class='table' style='margin-top: 0px;'>
            <tr>
               
                <td align='right'>
                    <div style='float:left;'>位置: <a href="__GROUP__/Cate/add">管理栏目</a></div>
                    <a href="__GROUP__/Cate/add">添加分类</a>
                    <a href="__GROUP__/Cate/add">添加分类</a>
                    <a href="__GROUP__/Cate/add">添加分类</a>
                </td>

            </tr>
            
        </table>
        <br/>
        <form action="__GROUP__/Cate/sort" method="post">
            <table class="table">
                <tr>
                    <th>ID</th><th>名称</th><th>级别</th><th>父类</th><th>排序</th><th>文章</th><th>操作</th>
                </tr>
                <volist name="cates" id="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.html}{$vo.c_name}</td>
                        <td>{$vo.level}</td>
                        <td>{$vo.id|getCatePar=###}</td>
                        <td><input type="text" name="{$vo.id}" value="{$vo.sort}"/></td>
                        <td>0</td>
                        <td>
                            <a href="{:U(GROUP_NAME . '/Cate/add',array('p_id'=>$vo['id']))}">[添加子分类]</a>
                           
                            <a href="{:U(GROUP_NAME . '/Cate/edit',array('id'=>$vo['id']))}">[修改]</a>
                            <a href="{:U(GROUP_NAME . '/Cate/del',array('id'=>$vo['id']))}" onclick='return confirm("确定要删除分类【{$vo.c_name}】吗？");'>[删除]</a>
                            
                        </td>
                    </tr>

                </volist>
                <tr><td colspan="7" align="center"><input type="submit" value="排序"/></td></tr>

            </table>
        </form>
    </body>
</html>
